package cn.shuto.liferay.plugin.chart.service.model;

import com.liferay.portal.kernel.bean.AutoEscape;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.model.BaseModel;
import com.liferay.portal.model.CacheModel;
import com.liferay.portal.model.StagedGroupedModel;
import com.liferay.portal.service.ServiceContext;

import com.liferay.portlet.expando.model.ExpandoBridge;

import java.io.Serializable;

import java.util.Date;

/**
 * The base model interface for the DataSourceCfg service. Represents a row in the &quot;echarts_DataSourceCfg&quot; database table, with each column mapped to a property of this class.
 *
 * <p>
 * This interface and its corresponding implementation {@link cn.shuto.liferay.plugin.chart.service.model.impl.DataSourceCfgModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link cn.shuto.liferay.plugin.chart.service.model.impl.DataSourceCfgImpl}.
 * </p>
 *
 * @author shixw
 * @see DataSourceCfg
 * @see cn.shuto.liferay.plugin.chart.service.model.impl.DataSourceCfgImpl
 * @see cn.shuto.liferay.plugin.chart.service.model.impl.DataSourceCfgModelImpl
 * @generated
 */
public interface DataSourceCfgModel extends BaseModel<DataSourceCfg>,
    StagedGroupedModel {
    /*
     * NOTE FOR DEVELOPERS:
     *
     * Never modify or reference this interface directly. All methods that expect a data source cfg model instance should use the {@link DataSourceCfg} interface instead.
     */

    /**
     * Returns the primary key of this data source cfg.
     *
     * @return the primary key of this data source cfg
     */
    public long getPrimaryKey();

    /**
     * Sets the primary key of this data source cfg.
     *
     * @param primaryKey the primary key of this data source cfg
     */
    public void setPrimaryKey(long primaryKey);

    /**
     * Returns the uuid of this data source cfg.
     *
     * @return the uuid of this data source cfg
     */
    @AutoEscape
    @Override
    public String getUuid();

    /**
     * Sets the uuid of this data source cfg.
     *
     * @param uuid the uuid of this data source cfg
     */
    @Override
    public void setUuid(String uuid);

    /**
     * Returns the data source ID of this data source cfg.
     *
     * @return the data source ID of this data source cfg
     */
    public long getDataSourceId();

    /**
     * Sets the data source ID of this data source cfg.
     *
     * @param dataSourceId the data source ID of this data source cfg
     */
    public void setDataSourceId(long dataSourceId);

    /**
     * Returns the group ID of this data source cfg.
     *
     * @return the group ID of this data source cfg
     */
    @Override
    public long getGroupId();

    /**
     * Sets the group ID of this data source cfg.
     *
     * @param groupId the group ID of this data source cfg
     */
    @Override
    public void setGroupId(long groupId);

    /**
     * Returns the company ID of this data source cfg.
     *
     * @return the company ID of this data source cfg
     */
    @Override
    public long getCompanyId();

    /**
     * Sets the company ID of this data source cfg.
     *
     * @param companyId the company ID of this data source cfg
     */
    @Override
    public void setCompanyId(long companyId);

    /**
     * Returns the user ID of this data source cfg.
     *
     * @return the user ID of this data source cfg
     */
    @Override
    public long getUserId();

    /**
     * Sets the user ID of this data source cfg.
     *
     * @param userId the user ID of this data source cfg
     */
    @Override
    public void setUserId(long userId);

    /**
     * Returns the user uuid of this data source cfg.
     *
     * @return the user uuid of this data source cfg
     * @throws SystemException if a system exception occurred
     */
    @Override
    public String getUserUuid() throws SystemException;

    /**
     * Sets the user uuid of this data source cfg.
     *
     * @param userUuid the user uuid of this data source cfg
     */
    @Override
    public void setUserUuid(String userUuid);

    /**
     * Returns the user name of this data source cfg.
     *
     * @return the user name of this data source cfg
     */
    @AutoEscape
    @Override
    public String getUserName();

    /**
     * Sets the user name of this data source cfg.
     *
     * @param userName the user name of this data source cfg
     */
    @Override
    public void setUserName(String userName);

    /**
     * Returns the create date of this data source cfg.
     *
     * @return the create date of this data source cfg
     */
    @Override
    public Date getCreateDate();

    /**
     * Sets the create date of this data source cfg.
     *
     * @param createDate the create date of this data source cfg
     */
    @Override
    public void setCreateDate(Date createDate);

    /**
     * Returns the modified date of this data source cfg.
     *
     * @return the modified date of this data source cfg
     */
    @Override
    public Date getModifiedDate();

    /**
     * Sets the modified date of this data source cfg.
     *
     * @param modifiedDate the modified date of this data source cfg
     */
    @Override
    public void setModifiedDate(Date modifiedDate);

    /**
     * Returns the name of this data source cfg.
     *
     * @return the name of this data source cfg
     */
    @AutoEscape
    public String getName();

    /**
     * Sets the name of this data source cfg.
     *
     * @param name the name of this data source cfg
     */
    public void setName(String name);

    /**
     * Returns the description of this data source cfg.
     *
     * @return the description of this data source cfg
     */
    @AutoEscape
    public String getDescription();

    /**
     * Sets the description of this data source cfg.
     *
     * @param description the description of this data source cfg
     */
    public void setDescription(String description);

    /**
     * Returns the driver of this data source cfg.
     *
     * @return the driver of this data source cfg
     */
    @AutoEscape
    public String getDriver();

    /**
     * Sets the driver of this data source cfg.
     *
     * @param driver the driver of this data source cfg
     */
    public void setDriver(String driver);

    /**
     * Returns the conn url of this data source cfg.
     *
     * @return the conn url of this data source cfg
     */
    @AutoEscape
    public String getConnUrl();

    /**
     * Sets the conn url of this data source cfg.
     *
     * @param connUrl the conn url of this data source cfg
     */
    public void setConnUrl(String connUrl);

    /**
     * Returns the dbusername of this data source cfg.
     *
     * @return the dbusername of this data source cfg
     */
    @AutoEscape
    public String getDbusername();

    /**
     * Sets the dbusername of this data source cfg.
     *
     * @param dbusername the dbusername of this data source cfg
     */
    public void setDbusername(String dbusername);

    /**
     * Returns the dbpassword of this data source cfg.
     *
     * @return the dbpassword of this data source cfg
     */
    @AutoEscape
    public String getDbpassword();

    /**
     * Sets the dbpassword of this data source cfg.
     *
     * @param dbpassword the dbpassword of this data source cfg
     */
    public void setDbpassword(String dbpassword);

    @Override
    public boolean isNew();

    @Override
    public void setNew(boolean n);

    @Override
    public boolean isCachedModel();

    @Override
    public void setCachedModel(boolean cachedModel);

    @Override
    public boolean isEscapedModel();

    @Override
    public Serializable getPrimaryKeyObj();

    @Override
    public void setPrimaryKeyObj(Serializable primaryKeyObj);

    @Override
    public ExpandoBridge getExpandoBridge();

    @Override
    public void setExpandoBridgeAttributes(BaseModel<?> baseModel);

    @Override
    public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);

    @Override
    public void setExpandoBridgeAttributes(ServiceContext serviceContext);

    @Override
    public Object clone();

    @Override
    public int compareTo(
        cn.shuto.liferay.plugin.chart.service.model.DataSourceCfg dataSourceCfg);

    @Override
    public int hashCode();

    @Override
    public CacheModel<cn.shuto.liferay.plugin.chart.service.model.DataSourceCfg> toCacheModel();

    @Override
    public cn.shuto.liferay.plugin.chart.service.model.DataSourceCfg toEscapedModel();

    @Override
    public cn.shuto.liferay.plugin.chart.service.model.DataSourceCfg toUnescapedModel();

    @Override
    public String toString();

    @Override
    public String toXmlString();
}
